<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:82:"D:\wwwroot\fangcms\fangcms_city_add\public/../application/home\view\dai\index.html";i:1493859646;s:86:"D:\wwwroot\fangcms\fangcms_city_add\public/../application/home\view\public\layout.html";i:1493431594;s:86:"D:\wwwroot\fangcms\fangcms_city_add\public/../application/home\view\public\footer.html";i:1493803247;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<!-- manifest="cache.manifest" -->
<head>
    <meta charset="utf-8" />
    <title><?php echo $seo['title']; ?></title>
    <meta name="keywords" content="<?php echo $seo['keys']; ?>" />
    <meta name="description" content="<?php echo $seo['desc']; ?>" />
    <link type="text/css" rel="stylesheet"  href="__CSS__/format_dom.css"/>
    <link type="text/css" rel="stylesheet"  href="__CSS__/main.css"/>
    <!--[if lte IE 8]>
    <script src="__JS__/ie/html5shiv.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <![endif]-->
    <script src="__PUBLIC__/js/jquery.min.js"></script>
</head>
<body>
<div>
    <div class="top_line">
        <div class="main">
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                <li><a href="<?php echo url('Agency/index'); ?>">经纪人</a></li>
            </ul>
            <?php if(empty($userInfo) || (($userInfo instanceof \think\Collection || $userInfo instanceof \think\Paginator ) && $userInfo->isEmpty())): ?>
            <span><a href="<?php echo url('user.login/index'); ?>" >登录</a></span>
            <span><a href="<?php echo url('user.login/reg'); ?>" >注册</a></span>
            <?php else: ?>
            <div style="float:right;color:#fff;"><em><?php echo $userInfo['nickname']; ?></em>,欢迎您的到来 <a href="<?php echo url('user.index/index'); ?>">会员中心</a> | <a href="<?php echo url('user.login/logout'); ?>">退出</a></div>
            <?php endif; ?>
        </div>
    </div>
    <div class="top_nav">
        <div class="top">
            <span class="logo"><img src="<?php echo $site['pcLogo']; ?>" width="80" height="64"></span>
            <div class="city city-box"><span class="city_span"></span><?php echo $cityInfo['name']; ?></div>
            <div class="city_box" id="CPM" style="display:none;">
                <div class="cities-con">
                    <p class="tit">选择城市 <a href="<?php echo url('Index/index@www'); ?>" class="gd_btn">更多城市</a></p>
                    <ul class="cities-opts clearfix">
                        <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li class="clearfix">
                            <em class="icons"><?php echo $key; ?></em>
                            <p>
                                <?php if(is_array($vo) || $vo instanceof \think\Collection || $vo instanceof \think\Paginator): $i = 0; $__LIST__ = $vo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
                                <a <?php if($val['is_hot'] == 1): ?>class="highlight"<?php endif; ?> href="<?php echo url('Index/index@'.$val['domain']); ?>"><?php echo $val['name']; ?></a>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </p>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                    <i></i>
                </div>
                <a href="javascript:;" class="close_btn">×</a>
            </div>
            <div class="nav t_mar">
                <ul>
                    <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                    <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
    </div>
    
    <div class="h_l_s overflow_h">
        <form action="<?php echo url('Loupan/index'); ?>" method="get" id="search-form">
            <div class="h_l_s_box">
<span class="h_l_input">
<input name="keyword" type="text" class="h_l_i" id="keyword" placeholder="请输入楼盘名称">
<a href="javascript:;" class="but03" id="search-btn">搜索</a>
</span>
                <a href="<?php echo url('Map/index'); ?>" class="but04">地图找房</a>
            </div>
        </form>
    </div>
    
</div>

<link rel="stylesheet" href="__CSS__/calculator.css">
<div class="calculator">
    <div class="content clearfix">
        <div class="infor">
            <dl class="title">
                <dt>房贷计算器</dt>
                <dd>选择基本情况，帮您快速计算房贷</dd>
            </dl>
            <table class="tab">
                <tbody>
                <tr>
                    <td>房款总额：</td>
                    <td>
                        <div class="box">
                            <input value="300" name="total" id="total" type="text">
                            <span class="unit">万</span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>首付成数：</td>
                    <td>
                        <div class="box select">
                            <a data-value="0.3" id="firstPayPercent" name="ltv">3成</a>
                            <div class="unflod">
                                <a data-value="0.1" name="ltv">1成</a>
                                <a data-value="0.2" name="ltv">2成</a>
                                <a data-value="0.3" name="ltv">3成</a>
                                <a data-value="0.4" name="ltv">4成</a>
                                <a data-value="0.5" name="ltv">5成</a>
                                <a data-value="0.6" name="ltv">6成</a>
                                <a data-value="0.7" name="ltv">7成</a>
                                <a data-value="0.8" name="ltv">8成</a>
                                <a data-value="0.9" name="ltv">9成</a>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>贷款类别：</td>
                    <td>
                        <div class="box select">
                            <a data-value="pfa" id="loanType" name="type">公积金贷款</a>
                            <div class="unflod">
                                <a data-value="business" name="type">商业贷款</a>
                                <a data-value="pfa" name="type">公积金贷款</a>
                                <a data-value="mix" name="type">组合型贷款</a>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr style="display:none" id="tr-pfa">
                    <td>公贷金额：</td>
                    <td>
                        <div class="box">
                            <input value="" name="total-pfa" id="totalPfa" type="text">
                            <span class="unit">万</span>
                        </div>
                    </td>
                </tr>
                <tr style="display:none" id="tr-business">
                    <td>商贷金额：</td>
                    <td>
                        <div class="box">
                            <input value="" name="total-business" id="totalBusiness" type="text">
                            <span class="unit">万</span>
                        </div>
                    </td>
                </tr>
                <tr style="display:none" id="tr-business-rate">
                    <td>商贷利率：</td>
                    <td>
                        <div class="equal">
                            <div class="box select">
                                <a data-value="1.0" id="businessDiscount" name="business-discount">无折扣</a>
                                <div class="unflod">
                                    <a data-value="1.0" name="business-discount">无折扣</a>
                                    <a data-value="1.2" name="business-discount">1.2倍</a>
                                    <a data-value="1.15" name="business-discount">1.15倍</a>
                                    <a data-value="1.1" name="business-discount">1.1倍</a>
                                    <a data-value="1.05" name="business-discount">1.05倍</a>
                                    <a data-value="0.95" name="business-discount">95折</a>
                                    <a data-value="0.9" name="business-discount">9折</a>
                                    <a data-value="0.85" name="business-discount">85折</a>
                                    <a data-value="0.8" name="business-discount">8折</a>
                                    <a data-value="0.75" name="business-discount">75折</a>
                                    <a data-value="0.7" name="business-discount">7折</a>
                                </div>
                            </div>
                            <div class="to">=</div>
                            <div class="box">
                                <input value="4.90" name="business-rate" id="businessRate" type="text">
                                <span class="unit">%</span>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>贷款期限：</td>
                    <td>
                        <div class="box select">
                            <a data-value="360" id="loanPeriod" name="loan-period">30年（360期）</a>
                            <div class="unflod"><a data-value="12" name="loan-period">1年（12期）</a><a data-value="24" name="loan-period">2年（24期）</a><a data-value="36" name="loan-period">3年（36期）</a><a data-value="48" name="loan-period">4年（48期）</a><a data-value="60" name="loan-period">5年（60期）</a><a data-value="72" name="loan-period">6年（72期）</a><a data-value="84" name="loan-period">7年（84期）</a><a data-value="96" name="loan-period">8年（96期）</a><a data-value="108" name="loan-period">9年（108期）</a><a data-value="120" name="loan-period">10年（120期）</a><a data-value="132" name="loan-period">11年（132期）</a><a data-value="144" name="loan-period">12年（144期）</a><a data-value="156" name="loan-period">13年（156期）</a><a data-value="168" name="loan-period">14年（168期）</a><a data-value="180" name="loan-period">15年（180期）</a><a data-value="192" name="loan-period">16年（192期）</a><a data-value="204" name="loan-period">17年（204期）</a><a data-value="216" name="loan-period">18年（216期）</a><a data-value="228" name="loan-period">19年（228期）</a><a data-value="240" name="loan-period">20年（240期）</a><a data-value="252" name="loan-period">21年（252期）</a><a data-value="264" name="loan-period">22年（264期）</a><a data-value="276" name="loan-period">23年（276期）</a><a data-value="288" name="loan-period">24年（288期）</a><a data-value="300" name="loan-period">25年（300期）</a><a data-value="312" name="loan-period">26年（312期）</a><a data-value="324" name="loan-period">27年（324期）</a><a data-value="336" name="loan-period">28年（336期）</a><a data-value="348" name="loan-period">29年（348期）</a><a data-value="360" name="loan-period">30年（360期）</a></div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>还款方式：</td>
                    <td>
                        <label class="" data-value="0" name="repay-method"><span></span>等额本息</label>
                        <label data-value="1" name="repay-method" class="on"><span></span>等额本金</label>
                    </td>
                </tr>
                </tbody>
            </table>
            <p class="tip">温馨提示：最新公积金贷款基准利率3.25%；商业贷款利率为4.90%</p>
        </div>
        <button data-rate-business-range1and5="4.75" data-rate-business-lessthan1="4.35" data-rate-business="4.90" data-rate-pfa-lessthan5="2.75" data-rate-pfa="3.25" id="buttonCal" class="work">开始 计算</button>
        <div id="result-panel" style="" class="result">
            <dl class="title">
                <dt>您的账单</dt>
                <dd>房款总额：约<span id="houseTotal">300</span>万元</dd>
            </dl>
            <ul class="msg">
                <li class="gr">首付金额：<span id="firstPay">90.00</span>万元</li>
                <li class="or">贷款金额：<span id="loanTotal">210.00万（公贷）</span></li>
                <li class="bl">偿还利息：<span id="payInterest">102.66万（公贷）</span></li>
                <!-- 等额本息 -->
                <li style="display: none;" class="bill">
                    参考月供：<span id="monthPay" class="mcolor">元（公贷）</span>
                </li>
                <!-- /等额本息 -->

                <!-- 等额本金 -->
                <li style="" class="bill">
                    首月还款：<span id="monthPayFirst" class="mcolor">11520.83元（公贷）</span><span class="line"></span>
                    每月递减：<span id="monthPayDecrease" class="mcolor">15.80元（公贷）</span>
                </li>
                <!-- /等额本金 -->

            </ul>
        </div>

    </div>

</div>
<script src="__JS__/loan.min.js"></script>

<div class="footer clearfix">
    <div class="main">
        <div class="footer_n1">
            <span>服务热线：<?php echo $site['telphone']; ?></span>
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 2): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a target="<?php echo $vo['open_type']; ?>" href="<?php echo $url; ?>"><?php echo $vo['title']; ?></a> </li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="footer_n2 overflow_h">
            <div class="tab02 overflow_h">
                <ul class="idTabs" id="recmond-tab">
                    <li><a href="javascript:;" class="selected"><?php echo $cityInfo['name']; ?>新房推荐</a></li>
                    <li><a href="javascript:;"><?php echo $cityInfo['name']; ?>二手房推荐</a></li>
                    <li><a href="javascript:;">友情链接</a></li>
                </ul>
            </div>
            <div id="recmond-box">
            <div class="f_n3" id="second01">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Loupan/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>新房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second03" style="display:none">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Second/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>二手房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second04" style="display:none">
                <ul>
                    <?php $obj = model("link");$obj->where("status=1");$obj->field("name,url");$obj->order("ordid asc,id desc");$name = $obj->limit(50)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>" target="_blank"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                </ul>
            </div>
            </div>
        </div>
        <div class="footer_n3 clearfix">
            <div class="footer_n3_1">
                <p>Copyright © <?php echo date("Y"); ?> <?php echo config('url_domain_root'); ?>. All Rights Reserved ICP备案号：<?php echo $site['icp']; ?></p>
                <p>公司名称：<?php echo $site['companyname']; ?></p>
            </div>
            <div class="footer_n3_2" >
                <ul>
                    <li>
                        <span><img src="<?php echo $site['weixin_pic']; ?>" width="90" height="90"></span>
                        <p>关注<?php echo $site['title']; ?>微信</p>
                    </li>
                </ul>
            </div>
        </div>

    </div>
</div>
<?php echo $site['countcode']; ?>
<script src="__PUBLIC__/js/plugins/jquery.lazyload.js"></script>
<script>
    $(function(){
        $("img.lazy").lazyload({
            threshold : 100,
            effect : "fadeIn"
        });
        $('.city-box').bind('click',function(){
            $('#CPM').toggle();
        });
        $('.close_btn').bind('click',function(){
            $('#CPM').hide();
        });
        $("#recmond-tab li").bind('click',function(){
            var index = $(this).index();
            $(this).find('a').addClass('selected').parent().siblings().find('a').removeClass('selected');
            $("#recmond-box").children().eq(index).show().siblings().hide();
        });
    });
</script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script>
    $(function(){
        $('#search-btn').bind('click',function(){
            var keyword = $('#keyword').val();
            if(keyword.length==0){
                layer.msg('请填写楼盘关键词',{icon:2});
                return false;
            }
            $('#search-form').submit();
        });
    });
</script>
</body>
</html>
